package com.senlingspace.payment.douyin.bean.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 抖音批量查询券状态响应
 *
 * @author lebronjames
 * @date 2024/07/24
 */
@Data
public class DouyinBatchQueryTicketStatusResponse implements Serializable {

    @JsonProperty("data")
    private ResponseData data;

    @JsonProperty("extra")
    private DouyinCommonResponse.Extra extra;

    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class ResponseData extends DouyinCommonResponse.CommonData {

        @JsonProperty("certificates")
        private List<DouyinQueryTicketStatusResponse.Certificate> certificates;

    }

}
